package com.ruoyi.medicalPSys.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目分类对象 xiangmufenlei
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
public class Xiangmufenlei extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    private Date addtime;

    /** 项目分类 */
    @Excel(name = "项目分类")
    private String xiangmufenlei;

    /** 项目信息信息 */
    private List<Xiangmuxinxi> xiangmuxinxiList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setXiangmufenlei(String xiangmufenlei) 
    {
        this.xiangmufenlei = xiangmufenlei;
    }

    public String getXiangmufenlei() 
    {
        return xiangmufenlei;
    }

    public List<Xiangmuxinxi> getXiangmuxinxiList()
    {
        return xiangmuxinxiList;
    }

    public void setXiangmuxinxiList(List<Xiangmuxinxi> xiangmuxinxiList)
    {
        this.xiangmuxinxiList = xiangmuxinxiList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("xiangmufenlei", getXiangmufenlei())
            .append("xiangmuxinxiList", getXiangmuxinxiList())
            .toString();
    }
}
